Piwik\Plugins\ScheduledReports\API C

Total Complexity 121
Dependencies 31
Dependents 8
Total lines 750
Lines of code 438
Logical lines of code 308
Comment lines 257
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
generateReport()
C
28
26 129
getReports()
B
41 16 51
sendReport()
A
43 8 44
validateEvolutionPeriod()
S
61 8 11
validateReportParameters()
S
56 6 17
validateRequestedReports()
S
57 5 16
validateIdSegment()
S
63 6 9
updateReport()
S
55 3 17
validateReportHour()
S
71 4 5
checkUserHasViewPermission()
S
64 4 9
getSegment()
S
65 4 9
addReport()
S
56 3 14
checkDateAndPeriodCombination()
S
64 3 10
getReportSubjectAndReportTitle()
S
64 3 9
validateReportFormat()
S
68 2 6
validateReportType()
S
69 2 6
validatePeriodParam()
S
64 2 8
ensureLanguageSetForUser()
S
69 2 6
validateReportPeriod()
S
68 2 6
validateCommonReportAttributes()
S
65 1 9
validateAndTruncateDescription()
S
78 1 3
getModel()
S
78 1 3
getReportMetadata()
S
72 1 5
allowMultipleReports()
S
72 1 5
getReportTypes()
S
72 1 5
getReportFormats()
S
72 1 5
getReportRecipients()
S
72 1 5
deleteReport()
S
67 1 7
isSegmentEditorActivated()
S
78 1 3
getAttachments()
S
79 1 3
__construct()
S
81 1 3